update README.md

Brightcells преди 8 години
родител
ревизия
9cf0f4306c
променени са 1 файла, в които са добавени 12 реда и са изтрити 0 реда
  1. 12 0
      README.md

+ 12 - 0
README.md

@@ -7,3 +7,15 @@ nohup python main.py &>minipai2.log &
7 7
 ```
8 8
 nohup python main.py --port=8002 &>minipai2.log &
9 9
 ```
10
+
11
+## Start Script
12
+* See ./startup.sh
13
+
14
+## Automatically Start
15
+* Crontab
16
+  * See http://askubuntu.com/questions/814/how-to-run-scripts-on-start-up
17
+  * Running ``crontab -e`` will allow you to edit your cron.
18
+  * Adding a line as below to it:
19
+    ```
20
+    @reboot /root/pai2/minipai2/startup.sh
21
+    ```